python find closest number binary search